import request from '@/utils/request'

export function group_index(params) {
  return request({
    url: '/group/index',
    method: 'get',
    params
  })
}

export function group_add(data) {
  return request({
    url: '/group/add',
    method: 'post',
    data:data
  })
}

export function group_edit(data) {
  return request({
    url: '/group/edit',
    method: 'post',
    data:data
  })
}

export function group_delete(data) {
  return request({
    url: '/group/delete',
    method: 'post',
    data:data
  })
}

export function group_confirmDelete(data) {
  return request({
    url: '/group/confirmDelete',
    method: 'post',
    data:data
  })
}

export function groupGoods_index(params) {
  return request({
    url: '/groupGoods/index',
    method: 'get',
    params
  })
}

export function groupGoods_goods(params) {
  return request({
    url: '/groupGoods/goods',
    method: 'get',
    params
  })
}

export function groupGoods_bind(data) {
  return request({
    url: '/groupGoods/bind',
    method: 'post',
    data:data
  })
}

export function groupGoods_clean(data) {
  return request({
    url: '/groupGoods/clean',
    method: 'post',
    data:data
  })
}

export function groupGoods_cleanAll(data) {
  return request({
    url: '/groupGoods/cleanAll',
    method: 'post',
    data:data
  })
}


